<html><head><title>PeekS</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">PeekS()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Text$ = <font color="#3A3966"><b>PeekS</b></font>(*MemoryBuffer [, Length [, Format]])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Reads a string from the specified memory address. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>*MemoryBuffer</i></td>
<td width="90%"> 
The address to read from. 

</td></tr>
<tr><td><i>Length (optional)</i></td>
<td> 
The maximum number of characters to read. If this parameter is not specified or -1 is used then 
there is no maximum. 
The string is read until a terminating null-character is encountered or the maximum length is reached. 

</td></tr>
<tr><td><i>Format (optional)</i></td>
<td> 
The string format to use when reading the string. This can be one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Ascii</font>  : Reads the strings as ascii
  <font color="#924B72">#PB_UTF8</font>   : Reads the strings as UTF8
  <font color="#924B72">#PB_Unicode</font>: Reads the strings as unicode
</font></pre>
The default is <font color="#924B72">#PB_Unicode</font> if the program is compiled in <a href="../reference/unicode.html">unicode</a> mode and 
<font color="#924B72">#PB_Ascii</font> otherwise. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the read string. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="pokes.html">PokeS()</a>, <a href="memorystringlength.html">MemoryStringLength()</a>, <a href="comparememorystring.html">CompareMemoryString()</a>, <a href="copymemorystring.html">CopyMemoryString()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=peekq.html>PeekQ()</a> - <a href="index.html">Memory Index</a> - <a href="peeku.html">PeekU()</a> -><br><br>

</body></html>